// /**
//  * 部门管理页-scss
//  */
@import "../../../sass/base.scss";
.department-container {
  height: 100%;
  width: 100%;
  padding: 32px;

  .department-head {
    height: 70px;
    line-height: 50px;
    font-size: 14px;
    overflow: hidden;

    .head-left {
      float: left;
    }

    .head-right {
      float: right;
    }
  }

  .department-body {
    height: calc(100% - 70px);
    width: 100%;
    background-color: white;
    box-shadow: 0px 0px 8px #ddd;
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    // overflow: hidden;
    // padding-bottom: 30px;
    .body {
      // height: calc(100% - 50px);
      height: 100%;
      width: 100%;

      position: relative;
      ::ng-deep .ant-tree li {
        padding-left: 32px;
      }
      ::ng-deep .ant-tree li {
        span.ant-tree-switcher,
        .ant-tree li span.ant-tree-iconEle {
          vertical-align: 57%;
          // height: 40px;
          // line-height: 41px;
        }
      }
      .thead {
        width: 101%;
        height: 50px;
        line-height: 50px;
        padding-left: 39px;

        background-color: #fff;
        box-sizing: border-box;
        z-index: 1;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd;
        display: flex;
        span:nth-child(1) {
          display: inline-block;
          flex: 1;
        }

        span:nth-child(2) {
          display: inline-block;
          flex: 1;
        }

        span:nth-child(3) {
          display: inline-block;
          flex: 1;
        }

        span:nth-child(4) {
          // display: inline-block;
          float: right;
          margin-right: 60px;
        }
      }
    }
  }

  .custom-node {
    // position: relative;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currentlynot supported by any browser */

    cursor: pointer;
    padding-left: 10px;
    box-sizing: border-box;
    // margin-left: 4px;
    display: inline-block;
    width: 100%;
    // padding-left: 37px;
    // margin-left: -37px;
    // display: flex;
    position: relative;

    .folder-name {
      width: 16% !important;
      line-height: 40px;
      overflow: hidden;
      display: inline-block;
    }

    .folder-job {
      display: inline-block;
      width: 250px !important;
      // margin-right: 50px;
      line-height: 40px;
      position: absolute;
      right: 46vw;
      overflow: hidden;
      // text-align: center
      // flex: 1;
    }

    .folder-company {
      display: inline-block;
      width: 50px !important;
      position: absolute;
      right: 27vw;
      line-height: 40px;
      overflow: hidden;
    }

    .folder-tools {
      float: right;
      margin-right: 50px;
      transition: all 0.3s ease;
      opacity: 1;
      line-height: 40px;
      overflow: auto;

      i {
        background-color: transparent;
        transition: color 0.3s;
        outline: none;
        color: #999999;
        font-size: 18px;
        &:hover {
          color: #419fe8;
        }
      }
    }

    &:hover,
    &:active,
    &:focus,
    &.active {
      background: $AuxiliaryColor;

      .folder-tools {
        opacity: 1;
      }
    }
  }

  .hidden-row {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;

    &.long {
      max-width: 200px;
    }

    &.longer {
      max-width: 180px;
    }

    &.longest {
      max-width: 210px;
    }

    &.auto {
      max-width: auto;
    }
  }
}
.zzj-scrollbar {
  &::-webkit-scrollbar {
    width: 10px;
    height: 6px;
    overflow: hidden;
  }

  &::-webkit-scrollbar-track {
    background-color: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #acacac;
  }
}
::ng-deep .ant-modal-footer {
  // text-align: center;
}
